<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" href="css/common.css" type="text/css" />

<link href="css/adminstyle.css" rel="stylesheet" type="text/css">

<title> <?=Common::_t('page_admin_area')?></title>

<script src="js/js.js"></script>
<script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
<script  language="javascript" type="text/javascript" src="js/jquery-1.9.1.min.js"></script>

<script>

function openTab(url,height,width){

	window.open (url,'newwindow','height='+height+',width='+width+',top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no'); 

}
</script>

</head>



<body>
<div id="man_zone">

<?$page_th = Common::_t('page_th');?>
    <?$page_selected = Common::_t('page_select');?>
    <?$page_search = Common::_t('page_search');?>
<div style="background-color:#FFFFFF ">

<div class="search_condition">

<div style="margin-top:10px;margin-bottom:10px;">

<form method="get">

&nbsp;&nbsp;&nbsp;<?=getStr($page_th, 'keyword')?> <input name="key_word" type="text" value="<?=getParamValue('key_word')?>" />
&nbsp;<?=getStr($page_th, 'register_time')?>
<input name="start_time" type="text" onClick="WdatePicker()" value="<?=getParamValue('start_time')?>" />
-
<input onClick="WdatePicker()" name="end_time" type="text"  value="<?=getParamValue('end_time')?>" />
<?=getStr($page_th, 'user_status')?>
<select name="status" >
 	   <option value=""><?=$page_selected?></option>
      <?=page_modifier_options($page_status_option,getParamValue('status'))?>
</select>
<?=getStr($page_th, 'user_type')?>
<select name="user_type" >
 	   <option value=""><?=$page_selected?></option>
      <?=page_modifier_options($page_user_type_option,getParamValue('user_type'))?>
</select>
&nbsp;&nbsp;&nbsp;
<input value="<?=$page_search?>" class="PublicBot" name="" type="submit" />

&nbsp;&nbsp;&nbsp;
</form>

</div>

</div>

<form method="get" id="form" action="user_delete.html">

  <table width="98%" border="0" align="center"  cellpadding="3" cellspacing="1" class="tableborder">

    <tr class="header">

    <td width="2%"></td>

      <td width="8%"><?=getStr($page_th, 'email')?></td>

      <td width="8%"><?=getStr($page_th, 'user_name')?></td>

      <td width="8%"><?=getStr($page_th, 'skype')?></td>

      <td width="8%"><?=getStr($page_th, 'qq')?></td>

      <td width="8%"><?=getStr($page_th, 'phone')?></td>

      <td width="8%"><?=getStr($page_th, 'english_level')?></td>

      <td width="8%"><?=getStr($page_th, 'user_type')?></td>

      <td width="8%"><?=getStr($page_th, 'integral')?></td>
      
      <td width="8%"><?=getStr($page_th, 'register_time')?></td>

      <td width="8%"><?=getStr($page_th, 'user_status')?></td>
   
    </tr>
    <?
    foreach($list as $v){

	?>
    <tr bgcolor="#FFFFFF">

      <td align="center"><input type="checkbox" name="id[]" id="checkbox" value="<?=$v['id']?>"></td>

      <td><a href="user_info.html?id=<?=$v['id']?>"><?=$v['email']?></a></td>

      <td align="center"><?=$v['english_name']?></td>

      <td align="center"><?=$v['skype_id']?></td>

      <td align="center"><?=$v['qq']?></td>

      <td align="center">
      <?=$v['phone']?><br>
      <?if($v['real_phone']==SMS_SERVER_2){?>
      	<?=getStr($page_th, 'user_verify')?>
      <?}?>
	  <?if($v['phone']!=''&&$v['real_phone']==SMS_SERVER_1){?>
      	<?=getStr($page_th, 'user_no_verify')?>
      <?}?>
      </td>

      <td align="center"><?=getStr($level_pair, $v['level'])?></td>

      <td align="center"><?=$v['user_type_name']?>
      </td>

      <td align="center"><?=$v['integral']?></td>

      <td align="center"><?=date('Y-m-d H:i:s',$v['register_time'])?></td>

      <td align="center"><?=$v['status_name']?></td>
	
    </tr>
    <?
	}
	?>

 <tr bgcolor="#FFFFFF">

 <td align="center"><input type="checkbox" name="chkall" id="checkbox"  onClick="CheckAll(this.form)"></td>

 <td colspan="12">
  <?echo $page; ?>
 </td>

 </tr>

  </table>

 </form>
</div>

</div>

</body>

</html>

